Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Factory1 Class / RegisterEffect Method / RegisterEffect<T>(Func<T>) Method

In This Topic
    RegisterEffect<T>(Func<T>) Method
    In This Topic
    Register a ICustomEffect factory.
    Syntax
    'Declaration
     
    Public Overloads Function RegisterEffect(Of T As ICustomEffect)( _
       ByVal effectFactory As System.Func(Of T) _
    ) As CustomEffectFactory
    public CustomEffectFactory RegisterEffect<T>( 
       System.Func<T> effectFactory
    )
    where T: ICustomEffect

    Parameters

    effectFactory

    Type Parameters

    T
    See Also